package com.xuwang.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName SupervisoryCheckSelectVo
 * @Description TODO
 * @Author OuJunchen
 * @Date 2021/9/23 下午7:26
 * @Version 1.0
 */
public class SupervisoryCheckSelectVo {
    /**
     * 检查类型
     */
    @ApiModelProperty(value = "检查类型")
    private Integer checkType;

    /**
     * 检查单位
     */
    @ApiModelProperty(value = "检查单位")
    private String companyName;

    /**
     * 所在区域
     */
    @ApiModelProperty(value = "所在区域")
    private String area;

    /**
     * 检查时间
     */
    @ApiModelProperty(value = "检查时间(时间戳)")
    private String checkTime;

    /**
     * 检查人（政府工作人员）
     */
    @ApiModelProperty(value = "检查人（政府工作人员）")
    private String name;

    @Override
    public String toString () {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"checkType\":")
                .append(checkType);
        sb.append(",\"companyName\":\"")
                .append(companyName).append('\"');
        sb.append(",\"area\":\"")
                .append(area).append('\"');
        sb.append(",\"checkTime\":\"")
                .append(checkTime).append('\"');
        sb.append(",\"name\":\"")
                .append(name).append('\"');
        sb.append('}');
        return sb.toString();
    }

    public Integer getCheckType () {
        return checkType;
    }

    public void setCheckType (Integer checkType) {
        this.checkType = checkType;
    }

    public String getCompanyName () {
        return companyName;
    }

    public void setCompanyName (String companyName) {
        this.companyName = companyName;
    }

    public String getArea () {
        return area;
    }

    public void setArea (String area) {
        this.area = area;
    }

    public String getCheckTime () {
        return checkTime;
    }

    public void setCheckTime (String checkTime) {
        this.checkTime = checkTime;
    }

    public String getName () {
        return name;
    }

    public void setName (String name) {
        this.name = name;
    }
}
